#!/bin/sh
cd ~/ThinkGeek\ LED\ Clock
# clean
rm -Rf docs/*
# doxy it up
doxygen makedoc-files/Doxyfile
# copy latex stuff
cp makedoc-files/codedoc.sty docs/latex/
# cleanup
cd docs/latex
make refman.pdf
mv refman.pdf ..
cd ..
rm -Rf latex
cd html
rm -f *.md5 formula.repository *.dot
cd ../..